import React, { useEffect, useState } from 'react';
import io from 'socket.io-client';
import { baseURL } from '@/utils/request';
import { getToken } from '@/utils/storage';
import { useHistory } from 'react-router-dom';
import { Tabs } from 'antd-mobile';

export default function Test() {
  return (
    <Tabs>
      <Tabs.Tab title="水果" key="fruits">
        菠萝
      </Tabs.Tab>
      <Tabs.Tab title="蔬菜" key="vegetables">
        西红柿
      </Tabs.Tab>
      <Tabs.Tab title="动物" key="animals">
        蚂蚁
      </Tabs.Tab>
    </Tabs>
  );
}
